package com.canal.collection.exception;

/**
 * 业务异常
 * @author yangbo
 * @date 2020-06-23 14:47
 */
public class BuzException extends Exception {

    private int code;

    public BuzException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
